// SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
// SPDX-License-Identifier: Mulan PSL v2
package com.geniusai.aip.auth.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author lingchuanzhou19320
 * @date 2022/8/15
 */
@Data
public class ResourceCustomVGpuRequest {
    private String name;

    @JsonProperty(value = "display_name")
    private String displayName;

    private Integer memory;

    private List<Device> devices;

    @Data
    public static class Device {
        @JsonProperty(value = "device_name")
        private String deviceName;
        private Integer ratio;
    }
}
